<html>

<head>
<title>ADD TAKE</title>
<link type="text/css" href="jquery-ui-1.8.13.custom/css/smoothness/jquery-ui-1.8.13.custom.css" rel="Stylesheet" />	
<script type="text/javascript" src="jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="jquery-ui-1.8.13.custom/js/jquery-ui-1.8.13.custom.min.js"></script>
</head>
<body>
<script language="javascript">
function fncSubmit()
{
if(document.form1.id.value == "")
	{
	alert('Please input Id');
		document.form1.name.focus();
		return false;
	}
if(document.form1.sur_id.value == "")
	{
		alert('Please input Surgeon');
		document.form1.sur_id.focus();
		return false;
	}
  
if(document.form1.nur_id.value == "")
	{
		alert('Please input Nurse');
		document.form1.nur_id.focus();       
		return false;
	}	  
if(document.form1.anes_id.value == "")
	{
		alert('Please input ANETHESIST');
		document.form1.anes_id.focus();       
		return false;
	}	
if(document.form1.hour.value == "")
	{
		alert('Please input hour');
		document.form1.hour.focus();       
		return false;
	}	
	document.form1.submit();
}

</script>
<br/>
<br/>
<center><h1>ADD TAKE</h1></center>
<br/>
<center><table border=3 bordercolor="#ff99cc">
<tr><td>

<form name="form1" action="add-take.php" method="post" onSubmit="JavaScript:return fncSubmit();">
	ID_NO: <input type="text" name="id" /><br/>
	SURGEON_ID: <input type="text" name="sur_id" /><br/>
	NURSE_ID: <input type="text" name="nur_id" /><br/>
	ANESTHESIS_ID: <input type="text" name="anes_id" /><br/>
	HOUR: <input type="text" name="hour" /><br/>
	<center><input type="submit" /></center>
	
</form>

</td></tr>
</table>
</body>
</html>
